#include "Destino.h"
#include <iostream>
using namespace std;
void Destino::draw() {
     
     glColor3f(1,0.5,0.2);
     glBegin(GL_QUADS);
     glVertex3f(this->getX(), this->getY(), 0);
     glVertex3f(this->getX() + this->getLargura(), this->getY(), 0);
     glVertex3f(this->getX() + this->getLargura(), this->getY() + this->getAltura(), 0);
     glVertex3f(this->getX(), this->getY() + this->getAltura(), 0);
     glEnd();     
}

